[INFO] cloning repository https://github.com/blono/set_efficiency_mode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blono/set_efficiency_mode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1d557ca12fa8030e1358cc962bd350a4a857cc1
[INFO] fixing blono/set_efficiency_mode against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/blono/set_efficiency_mode
[INFO] finished tweaking git repo https://github.com/blono/set_efficiency_mode
[INFO] tweaked toml for git repo https://github.com/blono/set_efficiency_mode written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/blono/set_efficiency_mode on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/blono/set_efficiency_mode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-future v0.1.1
[INFO] [stderr]   Downloaded windows-numerics v0.1.1
[INFO] [stderr]   Downloaded windows-core v0.60.1
[INFO] [stderr]   Downloaded windows-implement v0.59.0
[INFO] [stderr]   Downloaded windows-collections v0.1.1
[INFO] [stderr]   Downloaded windows v0.60.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93
[INFO] running `Command { std: "docker" "start" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]     Checking windows-link v0.1.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking windows-strings v0.3.1
[INFO] [stderr]     Checking windows-result v0.3.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling windows-interface v0.59.1
[INFO] [stderr]     Checking windows-core v0.60.1
[INFO] [stderr]     Checking windows-numerics v0.1.1
[INFO] [stderr]     Checking windows-future v0.1.1
[INFO] [stderr]     Checking windows-collections v0.1.1
[INFO] [stderr]     Checking windows v0.60.0
[INFO] [stderr]     Checking set_efficiency_mode v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/win.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPo...
[INFO] [stdout]   |                            ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::System::Threading::PROCESS_POWER_THROTTLING_EXECUTION_SPEED;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/win.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPo...
[INFO] [stdout]   |               ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/win.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPo...
[INFO] [stdout]   |                            ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::System::Threading::PROCESS_POWER_THROTTLING_EXECUTION_SPEED;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/win.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPo...
[INFO] [stdout]   |               ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]  --> src/wstr.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     s: PCWSTR,
[INFO] [stdout]   |        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     s: PWSTR,
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -     s: PWSTR,
[INFO] [stdout] 13 +     s: CWSTR,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope
[INFO] [stdout]   --> src/wstr.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 17 | impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 17 - impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout] 17 + impl Param<CWSTR> for CWSTR<'_> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<PCWSTR> Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:18:41
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 -     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout] 18 +     unsafe fn param(self) -> ParamValue<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<PCWSTR> Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope
[INFO] [stdout]   --> src/wstr.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 | impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 - impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout] 27 + impl Param<CWSTR> for WSTR<'_> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<PWSTR> Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:28:41
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 28 |     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 -     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout] 28 +     unsafe fn param(self) -> ParamValue<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<PWSTR> Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 70 | impl From<CWSTR<'_>> for PCWSTR {
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 70 - impl From<CWSTR<'_>> for PCWSTR {
[INFO] [stdout] 70 + impl From<CWSTR<'_>> for CWSTR {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 76 | impl From<WSTR<'_>> for PWSTR {
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 76 - impl From<WSTR<'_>> for PWSTR {
[INFO] [stdout] 76 + impl From<WSTR<'_>> for CWSTR {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:82:33
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 82 | impl From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 - impl From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout] 82 + impl From<CWSTR<'_>> for Option<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<PCWSTR> From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 92 | impl From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 92 - impl From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout] 92 + impl From<WSTR<'_>> for Option<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl<PWSTR> From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             ParamValue::Borrowed(zeroed())
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             ParamValue::Owned(self.s)
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             ParamValue::Borrowed(zeroed())
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             ParamValue::Owned(self.s)
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `set_efficiency_mode` (bin "set_efficiency_mode" test) due to 23 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |             s: PCWSTR::from_raw(self.as_ptr()),
[INFO] [stdout]    |                ^^^^^^ use of undeclared type `PCWSTR`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 45 -             s: PCWSTR::from_raw(self.as_ptr()),
[INFO] [stdout] 45 +             s: CWSTR::from_raw(self.as_ptr()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             s: PWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout]    |                ^^^^^ use of undeclared type `PWSTR`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 52 -             s: PWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout] 52 +             s: CWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]  --> src/wstr.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     s: PCWSTR,
[INFO] [stdout]   |        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     s: PWSTR,
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -     s: PWSTR,
[INFO] [stdout] 13 +     s: CWSTR,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope
[INFO] [stdout]   --> src/wstr.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 17 | impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 17 - impl Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout] 17 + impl Param<CWSTR> for CWSTR<'_> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<PCWSTR> Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:18:41
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 -     unsafe fn param(self) -> ParamValue<PCWSTR> {
[INFO] [stdout] 18 +     unsafe fn param(self) -> ParamValue<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<PCWSTR> Param<PCWSTR> for CWSTR<'_> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope
[INFO] [stdout]   --> src/wstr.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 | impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 - impl Param<PWSTR> for WSTR<'_> {
[INFO] [stdout] 27 + impl Param<CWSTR> for WSTR<'_> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<PWSTR> Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:28:41
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 28 |     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 -     unsafe fn param(self) -> ParamValue<PWSTR> {
[INFO] [stdout] 28 +     unsafe fn param(self) -> ParamValue<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<PWSTR> Param<PWSTR> for WSTR<'_> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 70 | impl From<CWSTR<'_>> for PCWSTR {
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 70 - impl From<CWSTR<'_>> for PCWSTR {
[INFO] [stdout] 70 + impl From<CWSTR<'_>> for CWSTR {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 76 | impl From<WSTR<'_>> for PWSTR {
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 76 - impl From<WSTR<'_>> for PWSTR {
[INFO] [stdout] 76 + impl From<WSTR<'_>> for CWSTR {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:82:33
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 82 | impl From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 - impl From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout] 82 + impl From<CWSTR<'_>> for Option<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<PCWSTR> From<CWSTR<'_>> for Option<PCWSTR> {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CWSTR<'a> {
[INFO] [stdout]    | -------------------- similarly named struct `CWSTR` defined here
[INFO] [stdout] ...
[INFO] [stdout] 92 | impl From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 92 - impl From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout] 92 + impl From<WSTR<'_>> for Option<CWSTR> {
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl<PWSTR> From<WSTR<'_>> for Option<PWSTR> {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             ParamValue::Borrowed(zeroed())
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             ParamValue::Owned(self.s)
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             ParamValue::Borrowed(zeroed())
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ParamValue` in this scope
[INFO] [stdout]   --> src/wstr.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             ParamValue::Owned(self.s)
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `ParamValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |             s: PCWSTR::from_raw(self.as_ptr()),
[INFO] [stdout]    |                ^^^^^^ use of undeclared type `PCWSTR`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 45 -             s: PCWSTR::from_raw(self.as_ptr()),
[INFO] [stdout] 45 +             s: CWSTR::from_raw(self.as_ptr()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/wstr.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             s: PWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout]    |                ^^^^^ use of undeclared type `PWSTR`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 52 -             s: PWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout] 52 +             s: CWSTR::from_raw(self.as_mut_ptr()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `set_efficiency_mode` (bin "set_efficiency_mode") due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93", kill_on_drop: false }`
[INFO] [stdout] e0410588b208da8dc65517412e511b9ab255c22dbd4ed0d673567fdc020ccc93
